<br /><br />
<{if $mylinksshowlogo}>
<div align="center"><{$mylinkslogoimage}></div><br />
<{/if}>
<{if $mylinksshowsearch}>
<div align="center">
<form action="<{$xoops_url}>/search.php" method="get">
<input type="text" id="query" name="query" size="30" maxlength="255" value="" />
<select id="andor" name="andor" size="1">
<option value="AND" selected="selected"><{$lang_all}></option>
<option value="OR"><{$lang_any}></option>
<option value="exact"><{$lang_exact}></option>
</select>
<input type="hidden" name="mids[]" value="<{$module_id}>" />
<input type="hidden" id="action" name="action" value="results" />
<input type="submit" class="formButton" name="submit" id="submit" value="<{$lang_search}>" />
</form>
</div>
<br />
<{/if}>
<{if $catarray.letters}>
<div align="center" class="itemPermaLink"><{$catarray.letters}></div><br />
<{/if}>
<{if $catarray.toolbar}>
<div align="center"><{$catarray.toolbar}></div><br />
<{/if}>
<br />

  <{if count($categories) gt 0}>
<div align="right">
<a href="javascript:mltoggleEffect('<{$mylinks_imgurl}>', 'resizemlcatblock', 'mlsizecatimage')"><img id="mlsizecatimage" src="<{$mylinks_imgurl}>/minimize.gif" alt="Click me if you want to minimize this block" /></a>
</div>
<hr />
<div id="resizemlcatblock" style="display: block;">
<table border='0' cellspacing='5' cellpadding='0' align="center">
  <tr>
  <!-- Start category loop -->
  <{foreach item=category from=$categories}>

    <td valign="top">

    <{if $category.image != ""}>
    <a href="<{$mylinks_weburl}>/viewcat.php?cid=<{$category.id}>"><img src="<{$category.image}>" height="50" border="0" alt="" /></a>
    <{/if}>

    </td>
    <td valign="top" width="40%"><a href="<{$mylinks_weburl}>/viewcat.php?cid=<{$category.id}>"><b><{$category.title}></b></a>&nbsp;(<{$category.totallink}>)<br /><{$category.subcategories}></td>

    <{if $category.count is div by 3}>
    </tr><tr>
    <{/if}>

  <{/foreach}>
  <!-- End category loop -->

  </tr>
</table>
</div>
<br /><br />

<div><{$lang_thereare}></div>
<table cellspacing="0" width="100%">
  <tr>
    <td align="left">
<a href="javascript:openWithSelfMain('<{$mylinks_weburl}>/include/feedsubscription.php?feedtype=RSS&feedurl=<{$mylinks_weburl|cat:"/rss.php"|escape:"url"}>','modulefeedsubscription',300,500);">
<img src="<{$mylinks_imgurl}>/feed-icon.gif" alt="feed subscription" title="Click here to subscribe this feed!"  /></a>
<b><{$lang_feed}></b>
<a href="<{$mylinks_weburl}>/rss.php" target="_blank">
<img src="<{$mylinks_imgurl}>/rss.png" alt="RSS-<{$lang_feed}>"  /></a>
<a href="<{$mylinks_weburl}>/atom.php" target="_blank">
<img src="<{$mylinks_imgurl}>/atom.png" alt="ATOM-<{$lang_feed}>" /></a>
<a href="<{$mylinks_weburl}>/pda.php" target="_blank">
<img src="<{$mylinks_imgurl}>/pda.png" alt="PDA-<{$lang_feed}>" /></a>
   </td>
   <td align="right">
	<form action="<{$xoops_requesturi}>" method="post">
	<b><{$lang_themechanger}></b><{$mylinksthemeoption}>
	</form>
  </td>
  </tr>
  </table>
<hr /><br />
<{/if}>
<{if $links != ""}>
<h4><{$lang_latestlistings}></h4>
<table width="100%" cellspacing="0" cellpadding="10" border="0">
  <tr>
    <td width="100%" align="right">
<a id="itemtop">
<a href="#itembottom"><img src="<{$mylinks_imgurl}>/bottom.gif" alt=""  /></a>
    </td>
  </tr>
<tr>
<td width="100%" align="center" valign="top">

  <!-- Start new link loop -->
  <{section name=i loop=$links}>
    <{include file="db:`$mydirname`_link.html" link=$links[i]}>
  <{/section}>
  <!-- End new link loop -->

</td></tr>
  <tr>
    <td width="100%" align="right">
<a id="itembottom">
<a href="#itemtop"><img src="<{$mylinks_imgurl}>/top.gif" alt=""  /></a>
    </td>
  </tr>
</table>
<{/if}>
<{include file='db:system_notification_select.html'}>
